give meaningful error message if qemu device model is unavailable
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 24 Apr 2022 09:26:38 +0000 (12:26 +0300)
committerMaximilian Engelhardt <maxi@daemonizer.de>
Thu, 18 May 2023 19:31:35 +0000 (21:31 +0200)
commit0e6801499363e7363366567ddaa073bb629e1954
tree61790ef98cf646f19ae2241ae67122f7ecb4cff7
parent3d936515070c7e5b365c3eaea6d64caf2544f25c
give meaningful error message if qemu device model is unavailable

There's no sense to switch to qemu-xen-traditional device model
if that one is not enabled in the first place. This way we'll
have a chance later to print a message suggesting to install the
missing qemu package if we *actually* need qemu for the device model.
tools/libs/light/libxl_create.c
tools/libs/light/libxl_dm.c